<?php
//Define custom routes
return array(
	'pages/<postTitle:\w+>.<postId:\d+>.html'=>'site/page',
	'news'=>'site/news',
	'contact.html'=>'site/contact',
	'/404.html' => 'site/error',
	//deals
	'deals.html'=>'deals/index',
	'deals/upload.html' => 'deals/upload',
	'deals/<cateCode:\w+>.html'=>'deals/index',
	'deals/<postTitle:[a-z0-9\-]+>.<postId:\d+>.html'=>'deals/detail',
);